package consumer;

//import com.venky.utils.abstractPage;
import org.openqa.selenium.By;

public class WishListPage  extends abstractPage
{
	
	public void gotowishlist()
	{
		  //sel.click("link=Wishlist");
		  driver.findElement(By.linkText("Wishlist")).click();
		  //sel.waitForPageToLoad("30000");
		  
	}
	public boolean verifyitemaddedtowishlist()
	{
		  //boolean s= sel.isTextPresent("Black & White Diamond Heart");
		  
		boolean s=driver.findElement(By.xpath("//td[@class='product']/a")).getText().matches("Black & White Diamond Heart");
				return s;
		  
	}  


}
